// 对所有接口进行统一管理
import requests  from "./request";
import mockRequests from './mockAjax'
// 三级联动的接口
///api/product/getBaseCategoryList get 无传参
export const reqCategoryList = ()=> requests({url:"/product/getBaseCategoryList",method:"GET"})

// 获取banner的接口
export const reqGetBannerList = ()=> mockRequests.get("/banner");
// 获取floor的接口
export const reqGetFloorList = ()=> mockRequests.get("/floor");

// 获取search模块的数据
///api/list post 传参
export const reqGetSearchInfo = (params)=> requests({url:"/list",method:"POST",data:params})
